/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * CU019.java
 *
 * Created on 03/11/2012, 14:32:09
 */
package victory;

/**
 *
 * @author Loreley
 */
public class CU019 extends javax.swing.JPanel {

    /** Creates new form CU019 */
    public CU019() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        label_fechaRonda = new javax.swing.JLabel();
        cb_fechaRonda = new javax.swing.JComboBox();
        label_nombreCompetencia = new javax.swing.JLabel();
        nombreCompetencia = new javax.swing.JTextField();
        boton_volver = new javax.swing.JButton();
        boton_gestionarResultados = new javax.swing.JButton();
        tb_eliminatoria = new javax.swing.JTabbedPane();
        scp_eliminatoriaSimple = new javax.swing.JScrollPane();
        tabla_eliminatoriaSimple = new javax.swing.JTable();
        scp_eliminatoriaDoble = new javax.swing.JScrollPane();
        tabla_eliminatoriaDoble = new javax.swing.JTable();
        label_titulo = new javax.swing.JLabel();

        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(victory.VictoryApp.class).getContext().getResourceMap(CU019.class);
        label_fechaRonda.setText(resourceMap.getString("label_fechaRonda.text")); // NOI18N
        label_fechaRonda.setName("label_fechaRonda"); // NOI18N

        cb_fechaRonda.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "<Seleccione una>", "1", "2" }));
        cb_fechaRonda.setName("cb_fechaRonda"); // NOI18N

        label_nombreCompetencia.setText(resourceMap.getString("label_nombreCompetencia.text")); // NOI18N
        label_nombreCompetencia.setName("label_nombreCompetencia"); // NOI18N

        nombreCompetencia.setEditable(false);
        nombreCompetencia.setName("nombreCompetencia"); // NOI18N

        boton_volver.setText(resourceMap.getString("boton_volver.text")); // NOI18N
        boton_volver.setName("boton_volver"); // NOI18N

        boton_gestionarResultados.setText(resourceMap.getString("boton_gestionarResultados.text")); // NOI18N
        boton_gestionarResultados.setName("boton_gestionarResultados"); // NOI18N
        boton_gestionarResultados.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                boton_gestionarResultadosActionPerformed(evt);
            }
        });

        tb_eliminatoria.setName("tb_eliminatoria"); // NOI18N

        scp_eliminatoriaSimple.setName("scp_eliminatoriaSimple"); // NOI18N

        tabla_eliminatoriaSimple.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null}
            },
            new String [] {
                "Participante 1", "Tantos 1", "Tantos 2", "Participante 2", "Lugar Realización", "Fecha"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        tabla_eliminatoriaSimple.setName("tabla_eliminatoriaSimple"); // NOI18N
        scp_eliminatoriaSimple.setViewportView(tabla_eliminatoriaSimple);

        tb_eliminatoria.addTab(resourceMap.getString("scp_eliminatoriaSimple.TabConstraints.tabTitle"), scp_eliminatoriaSimple); // NOI18N

        scp_eliminatoriaDoble.setName("scp_eliminatoriaDoble"); // NOI18N

        tabla_eliminatoriaDoble.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null}
            },
            new String [] {
                "Participante 1", "Tantos 1", "Tantos 2", "Participante 2", "Lugar Realización", "Fecha"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        tabla_eliminatoriaDoble.setName("tabla_eliminatoriaDoble"); // NOI18N
        scp_eliminatoriaDoble.setViewportView(tabla_eliminatoriaDoble);

        tb_eliminatoria.addTab(resourceMap.getString("scp_eliminatoriaDoble.TabConstraints.tabTitle"), scp_eliminatoriaDoble); // NOI18N

        label_titulo.setFont(resourceMap.getFont("label_titulo.font")); // NOI18N
        label_titulo.setText(resourceMap.getString("label_titulo.text")); // NOI18N
        label_titulo.setName("label_titulo"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(boton_gestionarResultados)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(boton_volver))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGap(29, 29, 29)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(label_titulo)
                            .addComponent(tb_eliminatoria, javax.swing.GroupLayout.DEFAULT_SIZE, 590, Short.MAX_VALUE)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(label_fechaRonda)
                                    .addComponent(label_nombreCompetencia))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(cb_fechaRonda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(nombreCompetencia, javax.swing.GroupLayout.DEFAULT_SIZE, 452, Short.MAX_VALUE))))))
                .addGap(31, 31, 31))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(30, 30, 30)
                        .addComponent(label_titulo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 40, Short.MAX_VALUE)
                        .addComponent(label_nombreCompetencia))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(nombreCompetencia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(17, 17, 17)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(label_fechaRonda)
                    .addComponent(cb_fechaRonda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(35, 35, 35)
                .addComponent(tb_eliminatoria, javax.swing.GroupLayout.PREFERRED_SIZE, 273, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(boton_gestionarResultados)
                    .addComponent(boton_volver))
                .addGap(26, 26, 26))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void boton_gestionarResultadosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_boton_gestionarResultadosActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_boton_gestionarResultadosActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton boton_gestionarResultados;
    private javax.swing.JButton boton_volver;
    private javax.swing.JComboBox cb_fechaRonda;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JLabel label_fechaRonda;
    private javax.swing.JLabel label_nombreCompetencia;
    private javax.swing.JLabel label_titulo;
    private javax.swing.JTextField nombreCompetencia;
    private javax.swing.JScrollPane scp_eliminatoriaDoble;
    private javax.swing.JScrollPane scp_eliminatoriaSimple;
    private javax.swing.JTable tabla_eliminatoriaDoble;
    private javax.swing.JTable tabla_eliminatoriaSimple;
    private javax.swing.JTabbedPane tb_eliminatoria;
    // End of variables declaration//GEN-END:variables
}
